home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / et / et3_0-a1.lha / et3 / src / Exception.C < prev    next >
C/C++ Source or Header  |  1992-04-27  |  182b  |  16 lines

  1. #ifdef __GNUG__
  2. #pragma implementation
  3. #endif
  4.  
  5. #include "Exception.h"
  6.  
  7. ExceptionContext *gException;
  8.  
  9. void throw(int code)
  10. {
  11.     if (gException)
  12.     longjmp(gException->buf, code);
  13. }
  14.  
  15.  
  16.